import React from 'react'
import ReactMixin from 'react-mixin'
import Reflux from 'reflux'
import Action from '../../../../action/action'
import Store from '../../../../store/store'
import {Link} from 'react-router'

export default class AddAddress extends React.Component{
    render(){
        return(
            <ul className="addAddress">
                <li className="addAddress-one">
                    <p>收货人：</p>
                    <input type="text"/>
                </li>
                <li className="addAddress-one">
                    <p>手机号：</p>
                    <input type="text"/>
                </li>
                <li className="addAddress-two">
                    <p>省、市、区：</p>
                    <input type="text"/>
                </li>
                <li className="addAddress-three">
                    <p>街道地址：</p>
                    <textarea defaultValue="街道、楼牌号等" rows="2"/>
                </li>
                <li className="addAddress-four">
                    <p>
                        <span>默认地址</span>
                        <label>注：每次下单默认使用该地址</label>
                    </p>
                    <div>
                        <span className="active"></span>
                    </div>
                </li>
                <Link to="/my/shoppingAddress" className="footBtn">
                    <div>
                        <span>保存并使用</span>
                    </div>
                </Link>
            </ul>
        )
    }
}
ReactMixin.onClass(AddAddress,Reflux.connect(Store));